package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
public class AddBoxEquityItemDTO {


    @ApiModelProperty("奖励类型 1 虚拟道具 2 星球碎片")
    @NotNull
    /**
     * @see com.sc.nft.enums.BoxEquityTypeEnum
     */
    private Integer linkType;

    @ApiModelProperty("奖励id")
    private Long linkId;

    @ApiModelProperty("奖励名称")
    private String linkName;

    @ApiModelProperty("数量")
    @NotNull
    @Min(value = 1, message = "数量最小值为1")
    private BigDecimal linkCount;

}
